package com.javautil;

import java.math.BigDecimal;

public class BigDemo {
        public static void main(String[] args) {
            BigDecimal decimal = new BigDecimal("10");
            BigDecimal decimal1 = new BigDecimal("2.1");
            System.out.println(decimal.divide(decimal1, BigDecimal.ROUND_HALF_UP));

        }
}
